﻿namespace TestTool.Proxies.Event
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.ServiceModel.Channels;

    [GeneratedCode("System.ServiceModel", "3.0.0.0"), DebuggerStepThrough]
    public class PullPointClient : ClientBase<PullPoint>, PullPoint
    {
        public PullPointClient()
        {
        }

        public PullPointClient(string endpointConfigurationName) : base(endpointConfigurationName)
        {
        }

        public PullPointClient(Binding binding, EndpointAddress remoteAddress) : base(binding, remoteAddress)
        {
        }

        public PullPointClient(string endpointConfigurationName, EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress)
        {
        }

        public PullPointClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress)
        {
        }

        public DestroyPullPointResponse DestroyPullPoint(TestTool.Proxies.Event.DestroyPullPoint DestroyPullPoint1)
        {
            DestroyPullPointRequest request = new DestroyPullPointRequest {
                DestroyPullPoint = DestroyPullPoint1
            };
            return ((PullPoint) this).DestroyPullPoint(request).DestroyPullPointResponse;
        }

        public GetMessagesResponse GetMessages(TestTool.Proxies.Event.GetMessages GetMessages1)
        {
            GetMessagesRequest request = new GetMessagesRequest {
                GetMessages = GetMessages1
            };
            return ((PullPoint) this).GetMessages(request).GetMessagesResponse;
        }

        public void Notify(TestTool.Proxies.Event.Notify Notify1)
        {
            Notify1 request = new Notify1 {
                Notify = Notify1
            };
            ((PullPoint) this).Notify(request);
        }

        [EditorBrowsable(EditorBrowsableState.Advanced)]
        DestroyPullPointResponse1 PullPoint.DestroyPullPoint(DestroyPullPointRequest request)
        {
            return base.Channel.DestroyPullPoint(request);
        }

        [EditorBrowsable(EditorBrowsableState.Advanced)]
        GetMessagesResponse1 PullPoint.GetMessages(GetMessagesRequest request)
        {
            return base.Channel.GetMessages(request);
        }

        [EditorBrowsable(EditorBrowsableState.Advanced)]
        void PullPoint.Notify(Notify1 request)
        {
            base.Channel.Notify(request);
        }
    }
}

